home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Tools / HD / SmartFileSystem / V1.58 / Sources / fs / query.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-30  |  1.6 KB  |  52 lines

  1.  
  2. /* Tags used by ACTION_SFS_QUERY: */
  3.  
  4. #define ASQBASE            (TAG_USER)
  5.  
  6. /* Physical properties of the filesystem */
  7.  
  8. #define ASQ_START_BYTEH             (ASQBASE+1)
  9. #define ASQ_START_BYTEL             (ASQBASE+2)
  10. #define ASQ_END_BYTEH               (ASQBASE+3)
  11. #define ASQ_END_BYTEL               (ASQBASE+4)
  12. #define ASQ_DEVICE_API              (ASQBASE+5)  /* Returns the method of communication used with
  13.                                                     the device.  See defines below */
  14.  
  15. /* Logical properties */
  16.  
  17. #define ASQ_BLOCK_SIZE              (ASQBASE+1001)
  18. #define ASQ_TOTAL_BLOCKS            (ASQBASE+1002)
  19.  
  20. /* Locations of special blocks */
  21.  
  22. #define ASQ_ROOTBLOCK               (ASQBASE+2001)
  23. #define ASQ_ROOTBLOCK_OBJECTNODES   (ASQBASE+2002)
  24. #define ASQ_ROOTBLOCK_EXTENTS       (ASQBASE+2003)
  25. #define ASQ_FIRST_BITMAP_BLOCK      (ASQBASE+2004)
  26. #define ASQ_FIRST_ADMINSPACE        (ASQBASE+2005)
  27.  
  28. /* Cache information */
  29.  
  30. #define ASQ_CACHE_LINES             (ASQBASE+3001)
  31. #define ASQ_CACHE_READAHEADSIZE     (ASQBASE+3002)
  32. #define ASQ_CACHE_MODE              (ASQBASE+3003)
  33. #define ASQ_CACHE_BUFFERS           (ASQBASE+3004)
  34.  
  35. #define ASQ_CACHE_ACCESSES          (ASQBASE+3010)
  36. #define ASQ_CACHE_MISSES            (ASQBASE+3011)
  37. #define ASQ_OPERATIONS_DECODED      (ASQBASE+3012)
  38. #define ASQ_EMPTY_OPERATIONS_DECODED (ASQBASE+3013)
  39.  
  40. /* Special properties */
  41.  
  42. #define ASQ_IS_CASESENSITIVE        (ASQBASE+4001)
  43. #define ASQ_HAS_RECYCLED            (ASQBASE+4002)
  44.  
  45.  
  46. /* Defines for ASQ_DEVICE_API: */
  47.  
  48. #define ASQDA_NORMAL     (0)
  49. #define ASQDA_NSD        (1)
  50. #define ASQDA_TD64       (2)
  51. #define ASQDA_SCSIDIRECT (3)
  52.